#ifndef LOGIN_H
#define LOGIN_H

#include "../../Frame/Message.h"
#include "WorldServerInfo.h"
#include <list>
#include <string>

using namespace std;

class Login
{
	public:
		Login();
		~Login();

		void Init();

		GameServerInfo* mp_LoginGameServer; 					// 当前让登录的GameServer数据

		WorldServerInfo m_WorldServerInfo;

		void OnL2WLoginInfo(Message * _pMsg);

		bool UpdateLoginServer();

		void W2LUpdateLoginServerInfo();

	protected:
	private:

		int m_loginGameServerId;
};

#endif // LOGIN_H
